
<%@page import="study.top.jsp.MultipartBox.FileInfo"%>
<%@page import="study.top.jsp.MultipartBox"%>
<%@page import="study.top.jsp.WebHandler"%>
<%@page import="java.net.URLEncoder"%>
<%@page import="java.io.OutputStream"%>
<%@page import="java.io.FileInputStream"%>
<%@page import="java.io.File"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page trimDirectiveWhitespaces="true" %>
<%
	WebHandler web =  new WebHandler(request, out);
	MultipartBox mbox = MultipartBox.getInstance();

	String fileOrgName = web.getValue("fileOrgName");
	String fileSaveName = web.getValue("fileSaveName");
	String fileDir = web.getValue("fileDir");
	int fileSize = web.getInt("fileSize");
	String fileType = web.getValue("fileType");
	
	FileInfo info = new MultipartBox.FileInfo(null, 
			fileOrgName, fileSaveName, fileDir, fileSize, 
			fileType);
	
	mbox.printStram(info, response, out);
%>